package com.tuling.learnmongodb.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 物流
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Logistic {

    private String orderId;   // 订单id
    private String operator;  // 操作员
    private String operation; // 操作名称
    private String phone;     // 操作员电话
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date operationTime; // 操作时间
    private String address;    // 地址
    private String details;    /// 详细信息
}
